package 设计模式.设计原则.迪米特原则;

public class Boss {
    public void commandCheckNumber(TeamLeader teamLeader){
       /* List<Course> courseList = new ArrayList<>();
        for(int i=0;i<20;i++){
            courseList.add(new Course());
        }
        teamLeader.checkNumberOfCourse(courseList);
        */
        teamLeader.checkNumberOfCourse();
    }

}
